from kyb_cap import driver

# 向左滑
def swipe_to_right(driver):
    x1 = driver.get_window_size()['width'] * 0.3
    y1 = driver.get_window_size()['height'] * 0.5
    x2 = driver.get_window_size()['width'] * 0.7
    driver.swipe(x1, y1, x2, y1)